package kr.hkit.powerjava.chaper05.work;

import java.util.Scanner;

public class work21 {

	public static void main(String[] args) {
		
		double ac;
		double ae;
		double bc;
		double de;
			
		Scanner input = new Scanner(System.in);
		System.out.print("AC의 값을 입력하시오: ");
		ac = input.nextDouble();
		System.out.print("AE의 값을 입력하시오: ");
		ae = input.nextDouble();
		System.out.print("BC의 값을 입력하시오: ");
		bc = input.nextDouble();
		
		de = (ae*bc) / ac ;
		System.out.println("DE의 값은 " + de + "입니다.");
	}
}
